projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b11706
)
Fix handling of -xrm on MS-Windows broken by recent commits
author
Eli Zaretskii
<eliz@gnu.org>
Tue, 28 May 2019 16:58:27 +0000
(19:58 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 28 May 2019 16:58:27 +0000
(19:58 +0300)
* src/w32reg.c (w32_get_string_resource): The argument V_RDB
is a 'char **', not a 'char *'. This fixes -xrm handling on
MS-Windows, broken by conversion of x_get_string_resource to
terminal-specific hook.
src/w32reg.c
patch
|
blob
|
history
diff --git
a/src/w32reg.c
b/src/w32reg.c
index 844e56137703041daa417c83e3688a84a8e59189..99b3973d708623b8237b08df6bd62b6a8ceec7c4 100644
(file)
--- a/
src/w32reg.c
+++ b/
src/w32reg.c
@@
-143,7
+143,7
@@
w32_get_string_resource_1 (const char *name, const char *class, DWORD dwexptype)
const char *
w32_get_string_resource (void *v_rdb, const char *name, const char *class)
{
- const char *rdb = v_rdb;
+ const char *rdb =
*(char **)
v_rdb;
if (rdb)
{